package com.tao.extend_.exercise;

import jdk.nashorn.internal.ir.CallNode;

public class ExtendsExercise03 {
    public static void main(String[] args) {
        PC pc = new PC("Intel", 16, 512, "联想");
        pc.printInfo();
        Notepad notepad = new Notepad("Intel", 16, 512,"联想","银色");
        notepad.printInfo();
    }
}


